package com.kgo.eidtor.service.impl;

import com.kgo.eidtor.dao.BackupBeanMapper;
import com.kgo.eidtor.entity.BackupBean;
import com.kgo.eidtor.service.BackupService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author keepgoon
 * @Description: TODO
 * @date 2019/2/1316:20
 */
@Service
public class BackupServiceImpl implements BackupService {
    @Resource
    private BackupBeanMapper backupBeanMapper;
    @Override
    public int addBackup(BackupBean backup) {
        return backupBeanMapper.insert(backup);
    }
}
